cmake_minimum_required(VERSION 3.12)

project(ds LANGUAGES C CXX)

set(BUILD_SHARED_LIBS OFF)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_EXTENSIONS OFF)


add_executable(test_gemm test_gemm.c)
target_link_libraries(test_gemm dsnet-static)

add_executable(test_network test_network.c)
target_link_libraries(test_network dsnet-static)

add_executable(test_connect test_connect.c)
target_link_libraries(test_connect dsnet-static)

add_executable(test_maxpool test_maxpool.c)
target_link_libraries(test_maxpool dsnet-static)

add_executable(test_connect_train test_connect_train.c)
target_link_libraries(test_connect_train dsnet-static)
target_link_libraries(test_connect_train m)
